export const SupermarketStatus_Any = 0 // 任意
export const SupermarketStatus_Cooperating = 1 // 合作中/已启用
export const SupermarketStatus_Terminated = 2 // 已解约/已禁用

export const SupermarketStatusDisplayMapping = new Map([
  [SupermarketStatus_Any, '任意'],
  [SupermarketStatus_Cooperating, '合作中'],
  [SupermarketStatus_Terminated, '已解约']
])

export function getSupermarketStatusDisplay(value) {
  return SupermarketStatusDisplayMapping.get(value) || '[系统出错, 未知状态]'
}

